package common.Tables;

import java.io.Serializable;
/**
 * the Job Object include job serial number id and the job name. 
 * @author Orit
 *
 */
public class Job implements Table,Serializable{
	private static final long serialVersionUID = 1L;
	private long jobId;				//job id
	private String job = "";		//job name
	//-----------------setters && getters ----------------//	
	public long getJobId() {
		return jobId;
	}
	public void setJobId(long jobId) {
		this.jobId = jobId;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	@Override
	public boolean equals(Object obj) {
		// TODO Auto-generated method stub
		Job j = (Job) obj;
		return j.getJobId()==this.getJobId();
	}

}
